﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="YYShipmentEdit.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.YYModel.YYShipmentEdit" %>

<script type="text/javascript">

</script>
<div class="pageContent">
	<form method="post" action="YYModel/YYShipmentEdit.aspx?ajaxmethod=edit&ShipmentID=<%=ShipmentID %>" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<div class="pageFormContent" layoutH="58">             
			    <p>
				    <label>订单日期：</label>
                    <input name="OrderDate" type="text" value="<%=obj.OrderDate %>" class="date"/>
			   </p>
               <p>
                
				    <label>经 销 商：</label>
                    <input name="AgentName" type="text" value="<%=obj.AgentName %>" class="required textInput autocomplete" autocompletehref="<%=AutoCompleteRequestUrl %>?ajaxmethod=getagentlist" swidth="300"/>
			   </p>
               <p>
				    <label>预计出货日期：</label>
				    <input name="ExpectOutDate" class="date " type="text" value="<%=obj.ExpectOutDate is DBNull?"":obj.ExpectOutDate.ToString("yyyy-MM-dd") %>" alt=""/>
			   </p>
              <div class="divider"></div>
              <p>
				    <label>机型：</label>
				    <input  name="MacType" class="required" type="text" value="<%=obj.MacType %>" size="" alt=""/>
                 
			   </p>
               <p>
                <label>机号：</label>
                 <input  name="SerialNumber" class="required" type="text" value="<%=obj.SerialNumber %>" size="" alt=""/>
               </p>
                <div class="divider"></div>
               <p>
                    <label>出货类型:</label>
                    <select name="ShippingType"　class="required"　>
                            <option value="" <%=obj.ShippingType==""?"selected":"" %>>请选择...</option>
                            <option value="买断" <%=obj.ShippingType=="买断"?"selected":"" %>>买断</option>
                            <option value="样机" <%=obj.ShippingType=="样机"?"selected":"" %>>样机</option>
                     </select>
                </p>

             <p>
				    <label>备货完成日期：</label>
                    <input name="ReadyDate" type="text" value="<%=obj.ReadyDate %>" class="date"/>
			   </p>
             <div class="divider"></div>
             <p>
				    <label>出货日期：</label>
                    <input name="OutDate" type="text" value="<%=obj.OutDate %>" class="date"/>
			   </p>
             <p>
				    <label>运输公司：</label>
                    <input name="ShippingCmpt" type="text" value="<%=obj.ShippingCmpt %>" class=""/>
			   </p>

              <div class="divider"></div>
                <p>
                    <label>运输方式:</label>
                    <select name="ShippingClass"　class="required"　>
                            <option value="" <%=obj.ShippingClass==""?"selected":"" %>>请选择...</option>
                            <option value="自提" <%=obj.ShippingClass=="自提"?"selected":"" %>>自提</option>
                            <option value="工厂代理" <%=obj.ShippingClass=="工厂代理"?"selected":"" %>>工厂代理</option>
                     </select>
                </p>
            <p>
                    <label>运输险投保:</label>
                    <select name="IsInsure"　class="required"　>
                            <option value="" <%=obj.IsInsure==""?"selected":"" %>>请选择...</option>
                            <option value="是" <%=obj.IsInsure=="是"?"selected":"" %>>是</option>
                            <option value="否" <%=obj.IsInsure=="否"?"selected":"" %>>否</option>
                     </select>
                </p>

             <div class="divider"></div>

                 <p>
                    <label>是否发货:</label>
                    <select name="Status"　class="required"　>
                            <option value="" <%=obj.Status==""?"selected":"" %>>请选择...</option>
                            <option value="未发" <%=obj.Status=="未发"?"selected":"" %>>未发</option>
                            <option value="已发" <%=obj.Status=="已发"?"selected":"" %>>已发</option>
                     </select>
                </p>
                <div class="divider"></div>
                <label>备注：</label>
				<textarea name="Remark" cols="80" rows="4" ><%=obj.Remark%></textarea>
                <div style="clear:both;margin-bottom: 5px;"></div>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">修改</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>
